package com.itheima.d19_extends_demo2;

public class People {
    private String name;
    private String numble;
    private int salary;

    public People(){}
    public People(String name,String numble,int salary){
        this.name = name;
        this.numble = numble;
        this.salary = salary;
    }

    public void setName(String name){
        this.name = name;
    }
    public void setNumble(String numble){
        this.numble = numble;
    }
    public void setSalary(int salary){
        this.salary = salary;
    }

    public String getName(){
        return name;
    }
    public String getNumble(){
        return numble;
    }
    public int getSalary(){
        return salary;
    }


    public void work(){
        System.out.println("在工作~~~~");
    }
}
